<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="utf-8"%>
<%@ page language="java" import="java.util.*" %>
<%@ include file="../../common/tag.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加部门</title>
<link href="<%=basePath %>/resource/css/frame.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="<%=basePath%>/resource/js/checkForm.js"></script>
<script type="text/javascript" src="<%=basePath%>/resource/js/jquery-1.4.4.min.js"></script>
</head>
<body>
<table cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1 border=0>
	   <tr>
	     <td height=25 class="specialTd">
	       	<span class="whiteWord">部门管理：添加部门</span>
	    </td>
	  </tr>
	   <tr>
	    <td  bgColor=#ebf2f9 height=30>
	      <table cellSpacing=0 width="99%" border=0>
		          <tr>
		          	<td align="center"><input type="submit" name="Submit" value="确定">
			<input type="button" name="Submit2" value="返回" onclick="return history.go(-1);" ></td>
		          </tr>
	       </table>
	    </td>
	   </tr>
</table>
<table cellSpacing=1 cellPadding=0 width="99%" border=0>
  <tbody>
  <tr>
    <td height=10></td>
  </tr>
  </tbody>
</table>
<form action="<%=basePath %>/dept/addOrUpdateDept.action"  method="post" id="deptForm">
<input type="hidden" name="deptId" id="deptId" value="${deptList.get(0).get('ID')}"/>
<table cellSpacing=1 cellPadding=3 width="99%" bgColor=#6298e1 border=0>
	<tr>
		<td bgColor=#ebf2f9>名称</td>
		<td bgColor=#ebf2f9><input type="text" name="deptName" id="deptName" value="${deptList.get(0).get('DEPT_NAME')}"/></td>
		<td bgColor=#ebf2f9>描述</td>
		<td bgColor=#ebf2f9><input type="text" name="deptDesc" id="deptDesc" value="${deptList.get(0).get('DEPT_DESCRIPTION')}" /></td>
	</tr>
	<tr>
		<td colspan="4" class="submitTd">
			<input type="button" name="Submit" value="确定" onclick="return checkDeptForm()">
			<input type="button" name="Submit2" value="返回" onclick="return history.go(-1);" >
		</td>
	</tr>
</table>
</form>
</body>
</html>